package com.info33.platform.business.app.entity;

import com.info33.platform.business.app.util.enmus.AppBannerEnum;
import com.info33.platform.common.mvc.entity.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * app - 轮播图
 *
 * @author admin
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class AppBanner extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "是否是公共的：1/是、0/否")
    private Boolean common;

    @ApiModelProperty(value = "类别")
    private AppBannerEnum type;

    @ApiModelProperty(value = "图片路径")
    private String imgUrl;

    @ApiModelProperty(value = "路由地址")
    private String route;

}